source 'https://gems.ruby-china.com'
# source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.1'

gem 'bootsnap', '>= 1.4.2', require: false
gem 'puma', '~> 4.1'
gem 'rails', '~> 6.0.3', '>= 6.0.3.1'

gem 'mysql2', '>= 0.4.4'
gem 'redis', '~> 4.0'

gem 'jbuilder', '~> 2.7'
gem 'sass-rails', '>= 6'
gem 'turbolinks', '~> 5'
gem 'webpacker', '~> 4.0'

# group :development, :test do
#   gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
# end

# group :development do
#   # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
#   gem 'listen', '~> 3.2'
#   gem 'web-console', '>= 3.3.0'
#   # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
#   gem 'spring'
#   gem 'spring-watcher-listen', '~> 2.0.0'
# end

# group :test do
#   # Adds support for Capybara system testing and selenium driver
#   gem 'capybara', '>= 2.15'
#   gem 'selenium-webdriver'
#   # Easy installation and use of web drivers to run system tests with browsers
#   gem 'webdrivers'
# end

gem 'httparty'
gem 'kimurai'

gem 'sidekiq'
gem 'sidekiq-cron', '~> 1.1'
gem 'sidekiq-throttled'

group :development, :test do
  gem 'awesome_print'
  gem 'byebug'
  gem 'dotenv-rails'

  gem 'faker'

  # Test
  gem 'database_cleaner'
  gem 'factory_bot_rails'
  gem 'guard-rspec'
  gem 'rspec-rails'
  gem 'webmock'

  # Code Analysis and Metrics
  gem 'brakeman'
  gem 'fasterer'
  gem 'rubocop'
  gem 'rubycritic'
  gem 'simplecov'
end

group :development do
  gem 'listen'
  gem 'web-console'

  gem 'pry-rails'
  gem 'spring'
  gem 'spring-watcher-listen'
end
